//
//  WorkoutModel.h
//  uteped_sdk
//
//  Created by mateng on 2024/2/28.
//

#import "BaseModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface WorkoutModel : BaseModel

@property(nonatomic, assign) NSInteger sportId;
@property(nonatomic, assign) NSInteger step;
@property(nonatomic, assign) NSInteger distance;
@property(nonatomic, assign) NSInteger heart;
@property(nonatomic, assign) NSInteger maxHeart;
@property(nonatomic, assign) NSInteger minHeart;
@property(nonatomic, assign) NSInteger count;
@property(nonatomic, assign) NSInteger duration;
@property(nonatomic, assign) NSInteger sportsType;
@property(nonatomic, assign) NSInteger pace;
@property(nonatomic, assign) NSInteger verSpeed;
@property(nonatomic, assign) NSInteger frequency;

@property(nonatomic, assign) NSInteger stride;
@property(nonatomic, assign) NSInteger longestStreak;
@property(nonatomic, assign) NSInteger tripped;
@property(nonatomic, assign) NSInteger jumpRopeFrequency;
@property(nonatomic, assign) NSInteger swimType;
@property(nonatomic, assign) NSInteger swimPoolLength;
@property(nonatomic, assign) NSInteger tripTimes;
@property(nonatomic, assign) NSInteger swimAverageSwolf;
@property(nonatomic, assign) NSInteger altitude;
@property(nonatomic, assign) NSInteger highestAltitude;
@property(nonatomic, assign) NSInteger lowestAltitude;
@property(nonatomic, assign) NSInteger totalRiseHeight;
@property(nonatomic, assign) NSInteger totalDropHeight;
@property(nonatomic, assign) NSInteger floorsUp;
@property(nonatomic, assign) NSInteger floorsDown;
@property(nonatomic, assign) NSInteger pullTime;
@property(nonatomic, assign) NSInteger freeTime;
@property(nonatomic, assign) NSInteger calories;
@property(nonatomic, retain) NSString *gpsData;
@property(nonatomic, retain) NSString *detailData;

@property(nonatomic, strong) NSString* calendarTime;
@property(nonatomic, strong) NSString* calendar;
@property(nonatomic, strong) NSString* startTime;
@property(nonatomic, strong) NSString* endTime;


- (void)from:(UTEModeSportRecordSummary*)data;
- (void)parseGpsData:(NSArray*)data;
- (void)parseDetailData:(UTEModeSportRecordDetail*)data;

@end

NS_ASSUME_NONNULL_END
